@extends('layouts.comment')
@section('css')
@endsection
@section('content')
<div id="dcMain">
    <div id="urHere">租伴 管理中心</div>
    <div id="index" class="mainBox" style="padding-top:18px;height:auto!important;height:550px;min-height:550px;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="indexBoxTwo">
            <tr>
                <td width="65%" valign="top" class="pr">
                    <div class="indexBox">
                        <div class="boxTitle">用户新增信息</div>
                        <ul>
                            <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                                <tr>
                                    <td width="100">今日新增用户：</td>
                                    <td><strong>{{$info['todayCount']}}</strong></td>
                                    <td width="100">男：</td>
                                    <td><strong>{{$info['nanTodayCount']}}</strong></td>
                                    <td width="100">女：</td>
                                    <td><strong>{{$info['nvTodayCount']}}</strong></td>
                                </tr>
                                <tr>
                                    <td width="100">昨日新增用户：</td>
                                    <td><strong>{{$info['yesterdayCount']}}</strong></td>
                                    <td width="100">男：</td>
                                    <td><strong>{{$info['nanOldCount']}}</strong></td>
                                    <td width="100">女：</td>
                                    <td><strong>{{$info['nvOldCount']}}</strong></td>
                                </tr>
                            </table>
                        </ul>
                    </div>
                </td>
                <td valign="top" class="pl">
                    <div class="indexBox">
                        <div class="boxTitle">管理员  登录记录</div>
                        <ul>
                            <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                                <tr>
                                    <th width="20%">登陆者</th>
                                    <th width="40%">IP地址</th>
                                    <th width="40%">操作时间</th>
                                </tr>
                                @if(!empty($login_log))
                                @foreach($login_log as $v1)
                                <tr>
                                    <td align="center">{{$v1['username']}}</td>
                                    <td align="center">{{$v1['ip']}}</td>
                                    <td align="center">{{date('Y-m-d H:i:s',$v1['create_time'])}}</td>
                                </tr>
                                @endforeach
                                @endif
                            </table>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
        <div class="indexBox">
            <div class="boxTitle">待处理事项</div>
            <ul>
                <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                    <tr>
                        <td width="120" valign="top">修改头像审核：</td>
                        <td valign="top">5.3.29 </td>
                    </tr>
                    <tr>
                        <td valign="top">修改基本信息审核：</td>
                        <td valign="top">2M</td>
                    </tr>
                </table>
            </ul>
        </div>
    </div>
</div>
@endsection
@section('js')
@endsection